package com.infore.siteManagement.entity.ddic;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;


/**
 * The persistent class for the DDIC_CONTRO_TYPE database table.
 * 控制等级--数据字典
 */
@Entity
@Table(name="DDIC_CONTRO_TYPE")
@NamedQuery(name="DdicControType.findAll", query="SELECT d FROM DdicControType d")
public class DdicControType implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ID")
	@GeneratedValue(generator = "uuidGenerator")
	@GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String id;

	/**控制类型代码**/
	@Column(name="CODE")
	private String code;

	/**控制类型**/
	@Column(name="NAME")
	private String name;

	public DdicControType() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}


}